package com.yunyi.integration.service;

import com.yunyi.integration.service.polymorphism.AbsPolymorphismService;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 多态测试适配器
 *
 * @author donghao
 */
@Data
@Component
public class PolymorphismAdapt {
    /**
     * 注入所有类型的Interface
     */
    @Autowired
    private Map<String, AbsPolymorphismService> polymorphismServiceMap;


}
